package com.ruoyi.syf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.syf.domain.RiskCheckDanger;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface RiskCheckDangerMapper extends BaseMapper<RiskCheckDanger> {

    /**
     * 删除排查隐患
     *
     * @param id 排查隐患主键
     * @return 结果
     */
    public int deleteRiskCheckDangerById(Long id);

    /**
     * 批量删除排查隐患
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRiskCheckDangerByIds(Long[] ids);

    /**
     * 上报
     */
    List<Map<String,Object>> escalation();

}
